﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Resxus.ViewModel;

namespace Resxus.View
{
    /// <summary>
    /// FileListView.xaml에 대한 상호 작용 논리
    /// </summary>
    public partial class FileListView : UserControl
    {
        public FileListView()
        {
            InitializeComponent();

            
        }

        private void ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            FileListVM model = this.DataContext as FileListVM;
            if (model != null)
            {
                model.Open();            
            }
        }
    }
}
